home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
United Public Domain Gold 2
/
United Public Domain Gold 2.iso
/
music_utilities
/
pt040.dms
/
pt040.adf
/
Programmers
/
PlayerLibraries
/
libproto.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-08-14
|
2KB
|
56 lines
/* pragmas for MEDPlayer.library V2.00*/
#ifndef NO_PRAGMAS
#pragma libcall MEDPlayerBase GetPlayer 1e 1
#pragma libcall MEDPlayerBase FreePlayer 24 0
#pragma libcall MEDPlayerBase PlayModule 2a 801
#pragma libcall MEDPlayerBase ContModule 30 801
#pragma libcall MEDPlayerBase StopPlayer 36 0
/* #pragma libcall MEDPlayerBase DimOffPlayer 3c 1 --- REMOVED */
#pragma libcall MEDPlayerBase SetTempo 42 1
#pragma libcall MEDPlayerBase LoadModule 48 801
#pragma libcall MEDPlayerBase UnLoadModule 4e 801
#pragma libcall MEDPlayerBase GetCurrentModule 54 0
#pragma libcall MEDPlayerBase ResetMIDI 5a 0
/* functions below in V2.00 or later*/
#pragma libcall MEDPlayerBase SetModnum 60 001
#pragma libcall MEDPlayerBase RelocModule 66 801
/* prototypes for OctaPlayer.library V2.00*/
#pragma libcall OctaPlayerBase GetPlayer8 1E 0
#pragma libcall OctaPlayerBase FreePlayer8 24 0
#pragma libcall OctaPlayerBase PlayModule8 2A 801
#pragma libcall OctaPlayerBase ContModule8 30 801
#pragma libcall OctaPlayerBase StopPlayer8 36 0
#pragma libcall OctaPlayerBase LoadModule8 3C 801
#pragma libcall OctaPlayerBase UnLoadModule8 42 801
#pragma libcall OctaPlayerBase SetModnum8 48 001
#pragma libcall OctaPlayerBase RelocModule8 4E 801
#endif
/* prototypes */
LONG GetPlayer(UWORD midi);
void FreePlayer(void);
void PlayModule(struct MMD0 *module);
void ContModule(struct MMD0 *module);
void StopPlayer(void);
/* void DimOffPlayer(UWORD length); */
void SetTempo(UWORD tempo);
struct MMD0 *LoadModule(char *name);
void UnLoadModule(struct MMD0 *module);
struct MMD0 *GetCurrentModule(void);
void ResetMIDI(void);
void SetModnum(UWORD modnum);
void RelocModule(struct MMD0 *module);
/* for octaplayer.library */
LONG GetPlayer8(void);
void FreePlayer8(void);
void PlayModule8(struct MMD0 *module);
void ContModule8(struct MMD0 *module);
void StopPlayer8(void);
struct MMD0 *LoadModule8(char *name);
void UnLoadModule8(struct MMD0 *module);
void SetModnum8(UWORD modnum);
void RelocModule8(struct MMD0 *module);
#define MEDPLAYER_LIBPROTO 1